﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElevatorSimulator
{
    class Lift
    {
        int width = 40;
        int height = 40;
        int liftCurrentYPos;
        String direction = "DOWN";
        String status = "WAITING";
        Boolean isDoorsClosed = false;

        LiftDoor liftDoor = new LiftDoor();

        public Lift(int position)
        {
            this.liftCurrentYPos = position;
        }

        public int getWidth()
        {
            return width;
        }

        public int getHeight()
        {
            return height;
        }

        public int getLiftCurrentYPos()
        {
            return liftCurrentYPos;
        }

        public String getDirection()
        {
            return direction;
        }

        public String getStatus()
        {
            return status;
        }

        public void setLiftCurrentYPos(int liftCurrentYPos)
        {
            this.liftCurrentYPos = liftCurrentYPos;
        }

        public void setDirection(String direction)
        {
            this.direction = direction;
        }

        public void setStatus(String status)
        {
            this.status = status;
        }

        public Boolean CheckIfDoorsClosed()
        {
            return isDoorsClosed;
        }
        public void setIsDoorsClosed(Boolean isDoorsClosed)
        {
            this.isDoorsClosed = isDoorsClosed;
        }

    }
}
